﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace AbpProject.Menus.Dto
{
    public class AbpMenuModel : EntityDto<long>
    {
        /// <summary>
        /// 路径
        /// </summary>
        public string Path { get; set; }
        /// <summary>
        /// 菜单名
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public long? ParentId { get; set; }
        /// <summary>
        /// 类型  菜单（menu） 还是  元素(doc)(按钮等)
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        ///  doc时 的父级下唯一代码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        ///  doc时 的名称
        /// </summary>
        public string Name { get; set; }

        public List<AbpMenuModel> Children { get; set; }
    }
}
